package com.binfast.app.admin.services;

import com.binfast.bean.dto.adminUser.AdminUserDetailDTO;
import com.binfast.bean.dto.adminUser.AdminUserGeneratePasswordDTO;
import com.binfast.bean.dto.adminUser.AdminUserListDTO;
import com.binfast.bean.model.auth.AdminUser;
import com.binfast.bean.params.DetailParam;
import com.binfast.bean.params.adminUser.AdminUserDetailSaveParam;
import com.binfast.bean.params.adminUser.AdminUserListParam;
import com.binfast.bean.params.adminUser.AdminUserModifyPasswordParam;

public interface AdminUserServ {

    AdminUserListDTO findList(AdminUserListParam param);

    AdminUserDetailDTO findDetail(DetailParam param);

    AdminUser saveOne(AdminUserDetailSaveParam param);

    AdminUser savePassword(AdminUserModifyPasswordParam param);

    AdminUserGeneratePasswordDTO generatePassword(DetailParam param);

    Long deleteOne(DetailParam param);

    Long isEnableOne(DetailParam param);

    AdminUser getAdminUser(Long id);
}
